package com.hoo.form.account;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;

public class UsersForm extends BaseTableForm {

    private static final long serialVersionUID = -7970848646314840509L;
    private Integer id; 
    private String userCode;
    private String loginName;
    private String loginPassword;
    private String salt;
    private Integer roleId;
    private String realName;
    private String phoneNum;
    private String email;
    private String identityCard;
    private Integer departmentId;
    private Integer parentId;
    private String securityQuestion;
    private String securityAnswer;
    private Date lastLoginTime;
    private Date curLoginTime;
    private Integer loginCount;
    private Date addTime;
    private Integer addBy;
    private Date updateTime;
    private Integer userFlag;
    private String referer;
    private String lastLoginIp;
    private String lastLoginIpDisplay;
    private String curLoginIp;
    private String curLoginIpDisplay;
    private String newLoginPassword;
    private String repPassword;
    private String captcha;
    
	public String getCaptcha() {
		return captcha;
	}
	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}
	public String getRepPassword() {
		return repPassword;
	}
	public void setRepPassword(String repPassword) {
		this.repPassword = repPassword;
	}
	public String getReferer() {
		return referer;
	}
	public void setReferer(String referer) {
		this.referer = referer;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	
	@NotBlank(message = "请输入旧密码1")
	public String getLoginPassword() {
		return loginPassword;
	}
	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getIdentityCard() {
		return identityCard;
	}
	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}
	public Integer getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getSecurityQuestion() {
		return securityQuestion;
	}
	public void setSecurityQuestion(String securityQuestion) {
		this.securityQuestion = securityQuestion;
	}
	public String getSecurityAnswer() {
		return securityAnswer;
	}
	public void setSecurityAnswer(String securityAnswer) {
		this.securityAnswer = securityAnswer;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public Integer getLoginCount() {
		return loginCount;
	}
	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public Integer getAddBy() {
		return addBy;
	}
	public void setAddBy(Integer addBy) {
		this.addBy = addBy;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Integer getUserFlag() {
		return userFlag;
	}
	public void setUserFlag(Integer userFlag) {
		this.userFlag = userFlag;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Date getCurLoginTime() {
		return curLoginTime;
	}
	public void setCurLoginTime(Date curLoginTime) {
		this.curLoginTime = curLoginTime;
	}
	public String getLastLoginIpDisplay() {
		return lastLoginIpDisplay;
	}
	public void setLastLoginIpDisplay(String lastLoginIpDisplay) {
		this.lastLoginIpDisplay = lastLoginIpDisplay;
	}
	public String getCurLoginIp() {
		return curLoginIp;
	}
	public void setCurLoginIp(String curLoginIp) {
		this.curLoginIp = curLoginIp;
	}
	public String getCurLoginIpDisplay() {
		return curLoginIpDisplay;
	}
	public void setCurLoginIpDisplay(String curLoginIpDisplay) {
		this.curLoginIpDisplay = curLoginIpDisplay;
	}
	public String getNewLoginPassword() {
		return newLoginPassword;
	}
	public void setNewLoginPassword(String newLoginPassword) {
		this.newLoginPassword = newLoginPassword;
	}
	
	
}
